package com.kongjs.application.service;

import com.kongjs.application.model.dto.AccountDTO;
import com.kongjs.application.model.dto.JwtTokenDTO;
import com.kongjs.application.model.dto.UserDetailsDTO;

import java.util.List;

public interface JwtService {
    JwtTokenDTO generateToken(UserDetailsDTO dto, boolean isRefreshToken);
    JwtTokenDTO parseToken(String token,boolean isRefreshToken);
    JwtTokenDTO refreshToken(String token);
}
